package com.cybertooth.dbconvenience.query.enums;

import com.cybertooth.dbconvenience.query.core.SqlTransformer;

/**
 * <p></p>
 *
 * @author dnelson
 */
public enum AggregateFunction implements SqlTransformer {
	AVG,
	COUNT,
	MAX,
	MIN,;

	// ---------------------------------------------------------------Public Methods

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toSql() {
		return new StringBuilder().append(" ").append(this.name()).toString();
	}
}
